home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8352 / 8352.xpi / chrome / greasefire.jar / content / prefs.xul < prev   
Extensible Markup Language  |  2009-01-06  |  2KB  |  70 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.   Copyright (C) 2008 by Steve Krulewitz <skrulx@gmail.com>
  4.   Licensed under GPLv2 or later, see file LICENSE in the xpi for details.
  5. -->
  6. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  7. <?xml-stylesheet href="chrome://greasefire/content/prefs.css"?>
  8. <dialog
  9.    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  10.    xmlns:xhtml="http://www.w3.org/1999/xhtml"
  11.    width="500"
  12.    height="300"
  13.    onload="PrefsController.init();"
  14.    onunload="PrefsController.unload();"
  15.    buttons="accept"
  16.    buttonlabelaccept="Close"
  17.    title="Greasefire Preferences"
  18. >
  19. <script
  20.   type="application/x-javascript"
  21.   src="chrome://greasefire/content/prefs.js"
  22. />
  23. <groupbox>
  24.   <caption label="Index Details"/>
  25.   <hbox>
  26.     <label value="Index date:"/>
  27.     <label id="index-date"/>
  28.   </hbox>
  29.   <hbox>
  30.     <label value="Script count:"/>
  31.     <label id="script-count"/>
  32.   </hbox>
  33. </groupbox>
  34. <groupbox>
  35.   <caption label="Index Updates"/>
  36.   <hbox align="center">
  37.     <checkbox
  38.        id="auto"
  39.        label="Automatically update every"
  40.        oncommand="PrefsController.updateCheckbox(this.checked)"
  41.     />
  42.     <textbox
  43.        id="days"
  44.        type="number"
  45.        size="3"
  46.        onchange="PrefsController.updateInterval(this.value)"
  47.      />
  48.     <label value="days" align="center"/>
  49.   </hbox>
  50.   <hbox>
  51.     <label value="Next update:"/>
  52.     <label id="next-update"/>
  53.   </hbox>
  54.   <hbox flex="1">
  55.     <button label="" id="update-button" oncommand="PrefsController.update();"/>
  56.     <hbox flex="1">
  57.       <vbox id="progress-box" flex="1" hidden="true">
  58.         <spacer flex="1"/>
  59.         <hbox>
  60.           <image class="throbber" id="throbber" hidden="true"/>
  61.           <label id="status"/>
  62.         </hbox>
  63.         <progressmeter id="progress" flex="1"/>
  64.         <spacer flex="1"/>
  65.       </vbox>
  66.     </hbox>
  67.   </hbox>
  68. </groupbox>
  69. </dialog>
  70.